package com.ychs.lawyer.service;

import com.ychs.lawyer.DTO.RoleMenu;
import com.ychs.lawyer.bean.Role;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: clh
 * @Date: 2024/07/25/18:57
 * @Description:
 */
public interface RoleService {
    public String getRoleNamekById(Integer id);
    List<Role> getRoles();

    Boolean editRole(RoleMenu roleMenu);

    Boolean addRole(RoleMenu roleMenu);

    List<Role> selectRoleName();

    int deleteRole(Integer roleId);

}
